﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Zadani09.db.ODS
{
    public class DataObject
    {
        protected bool najdi(string hodnota, IAtribut objekt, string atribut)
        {
            if (hodnota == null) return (true);

            return (objekt[atribut].ToString().ToLower().Contains(hodnota.ToLower()));
        }
    }
}
